.data

.text

.global _start
_start:
    li x1, 2147483647
    li x2, 1
    li x3, -1
    li x4, -2147483648
    li x5, 4294967295
    addi x6, x1, 2047  # 2147483647 + 2047 = 4294967294 视为无符号数相加
    addi x7, x2, -1 # 1 + (-1) = 0 有符号数相加
    addi x8, x0, 1 # 0值测试
    addi x9, x0, -1
    addi x10, x2, -1 # 多次相加测试
    addi x10, x10, 1
    addi x11, x5, 1 # 溢出测试



loop:
    j loop

.section .bss